package com.string;


import java.util.HashMap;
import java.util.Map;

/**
 * @className: StringTest
 * @description: TODO 类描述
 * @author: YUANG
 * @date: 2021/12/29
 **/
public class StringTest {
    public static void main(String[] args) {
        Map<String, String> map = new HashMap<>();
        map.put("name", "zhangsan");
        map.put("age", "11");

//        String jsonString = JSON.toJSONString(map);
//        jsonString =  jsonString.replaceAll("\\{", "%7B");
        //data%5B0%5D%5Bdetail%5D%5B0%5D%5Bsku%5D=SKU45454&data%5B0%5D%5Bdetail%5D%5B0%5D%5Bsn%5D=SN123456&data%5B0%5D%5Border_id%5D=SO01111000
//        System.out.println(jsonString);

    }
}
